<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
 * Code by TinhNQ
 * 2014
 **/
class Restaurant_Module extends Module {
    public $name = 'restaurant';
    
    public function __construct(){
        $this->active_module = $this->name;
        parent::__construct();
    }
    
    public function do_admin_preload(){
        //$this->CI->admin_navigation->child_link('restaurant',1,'Restaurant Manager',admin_url('*/restaurant/manager_restaurant'));
        //$this->CI->admin_navigation->child_link('restaurant',2,'Category Restaurant',admin_url('*/restaurant/manager_restaurant_category'));
    }
    
    function do_front_preload(){
        $this->CI->smarty->addPluginsDir(APPPATH.'modules/restaurant/plugins/');
    }
}
